home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 1
/
MacMania 1.toast
/
Educational
/
Sciences
/
Chemist's Helper
/
card_2903.txt
< prev
next >
Wrap
Text File
|
1989-10-27
|
4KB
|
187 lines
-- card: 2903 from stack: in
-- bmap block id: 3492
-- flags: 0000
-- background id: 2590
-- name:
----- HyperTalk script -----
on calculate2
global amount1
global amount2
global molar
global conc
global volume
global grav
put molar*volume*conc/1000 into amount2
set the numberformat to "0.0"
end calculate2
-- part 3 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=97 top=281 right=323 bottom=267
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Calculate
----- HyperTalk script -----
on mouseUp
global conc
global acid
global molar
global volume
global amount1
global amount2
calculate2
put empty into card field "acid"
hide card field "note"
put volume & " ml" into line 2 of card field "acid"
put "of" into line 3 of card field "acid"
put molar & " M" into line 4 of card field "acid"
put acid into line 5 of card field "acid"
put "USE" into line 7 of card field "acid"
--put amount1 & " ml" into line 7 of card field "acid"
--put "or" into line 8 of card field "acid"
put amount2 & " gms" into line 8 of card field "acid"
put "of" into line 9 of card field "acid"
put "Solid" into line 10 of card field "acid"
put acid into line 11 of card field "acid"
end mouseUp
-- part 4 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=374 top=56 right=303 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: acid
-- part 5 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=14 top=262 right=287 bottom=80
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OTHER
----- HyperTalk script -----
on mouseUp
GLOBAL DIM
GLOBAL TOP
global molar
global volume
global acid
global conc
show card field "note"
put empty into molar
put empty into acid
put empty into volume
put empty into conc
PUT 1 INTO DIM
PUT 26 INTO TOP
GO TO CARD 1
show card field "note"
DIMMER2
PUT 1 INTO DIM
PUT 7 INTO TOP
DIMMER
end mouseUp
-- part 6 (field)
-- low flags: 81
-- high flags: 0001
-- rect: left=368 top=31 right=326 bottom=509
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 20
-- style flags: 256
-- line height: 26
-- part name: note
-- part 7 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=464 top=325 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: info
----- HyperTalk script -----
on mouseUp
push card
go to card "info"
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=304 top=292 right=342 bottom=353
-- title width / last selected line: 0
-- icon id / first selected line: 1011 / 1011
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: home
----- HyperTalk script -----
on mouseUp
go home
end mouseUp
-- part contents for card part 6
----- text -----
Use Caution
when
Making
Acid
or
Base
Solutions
-- part contents for card part 4
----- text -----
400 ml
of
.30 M
Potassium Hydroxide
USE
6.7 gms
of
Solid
Potassium Hydroxide